package com.wyh.domain.po.feemanagementpo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "计费生成表")
@TableName("charging")
public class Chargings {

    //id
    private Integer id;
    //资源id
    private Integer resourceid;
    //客户id
    private Integer customerid;
    //费项id
    private Integer unitpriceid;
    //计费时间
    private LocalDateTime billingtime;
    //修改时间
    private LocalDateTime updatetime;
    //资源名称
    private String resourcename;
    //客户名称
    private String customername;
    //建筑面积
    private BigDecimal area;
    //单价
    private BigDecimal price;
    //计费开始时间
    private LocalDateTime starttime;
    //计费结束时间
    private LocalDateTime endtime;
    //合同id
    private Integer contractid;
    //应收金额
    private BigDecimal receivable;
    //楼盘名称
    private String propertyname;
    //楼栋名称
    private String buildingname;
    //楼层名称
    private String floorname;
    //计费项目
    private String billingitemsname;
    //账单id
    private Integer billid;
    //计费性质（0周期性计费，1三表类计费，2一次性计费）
    private Integer billingnature;
    //状态（0待入账，1已入账，2已退回）
    private Integer state;
    //备注
    private String remarks;
    //用量
    private BigDecimal dosage;
    //修改人
    private Integer userid;
    //退回原因
    private String reason;

}
